<?php

class RechargeGiftPackInfoAction extends SzAbstractAction
{
    Protected $paramTypes = array(
        SzAbstractAction::TYPE_INT,
        SzAbstractAction::TYPE_STRING,
        SzAbstractAction::TYPE_INT,
    );

    public function execute($userId,$platform,$reqTime) {
        GameService::get()->validateMultiRequestTimeDelta($userId, $reqTime);
        return $this->buildResponse(
            RechargeService::get()->giftPackInfo($userId,$platform,$reqTime)
        );
    }
}